<template>
  <div>
    <Child1 />
    <input
      type="text"
      v-model='money'
    >
    <h1>金额时{{money|mm}}</h1>
  </div>
</template>
<script>
// @ is an alias to /src
import Child1 from "./components/Child1.vue";
export default {
  name: "XXX",
  provide() {
    // console.log(this)// this就是当前实例
    return {
      name: "珠峰",
    };
  },
  filters: {},
  data() {
    return {
      type: 222,
      money: 1000,
    };
  },
  created() {
    console.log(this);
  },
  components: { Child1 },
  methods: {},
  watch: {
    name: [() => {}, () => {}],
  },
};
</script>
<style lang="less">
</style>